Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header/2 function in mochiweb_request_bridge.erl #2

Closed
wants to merge 1 commit into from
Closed

Header/2 function in mochiweb_request_bridge.erl #2

wants to merge 1 commit into from

Conversation

mdaguete
Copy link

Hello Rusty,

I've added a header/2 function in mochiweb_request_bridge.erl to allow search for user defined headers.

Regards.

Accepts the header name as atom or string, if atom option is used take care that al _ are converted to -
choptastic added a commit that referenced this pull request May 31, 2012
Cowboy vs Mochiweb path handling
@choptastic
Copy link
Member

This should have been merged long ago, but never was. For that, I apologize. As it is now, mochiweb_request_bridge:header/2 exists as merged from the ChicagoBoss variation of SimpleBridge. I like how you do the atom to list conversion though, and I will likely incorporate that change tomorrow. For now, I will leave the pull request open, as it's getting late, and I simply don't have the time to complete the merger now.

Thanks Manuel!

@mdaguete
Copy link
Author

Don't worry .. Thank you.

@choptastic
Copy link
Member

There are some abstractions on this that make this more flexible in the upcoming 2.0 release.

@choptastic choptastic closed this Nov 9, 2013
choptastic pushed a commit that referenced this pull request Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants